//
//  ios.cpp
//  Prism
//
//  Created by Bas du Pre on 21-05-11.
//  Copyright 2011 UU. All rights reserved.
//

#include "ios.h"

#if PRISM_OS_IOS

using namespace Prism;

// Allocating and initializing Director's
// static data member.  The pointer is being
// allocated - not the object inself.
_IOS *_IOS::s_instance = 0;

_IOS *_IOS::instance() {
    if (!s_instance) s_instance = new _IOS;
    return s_instance;
}

_IOS::_IOS() {
    
}

_IOS::~_IOS() {
    
}

_IOS *IOS() { return _IOS::instance(); };

#endif
